﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMR_System.Controllers
{
    public class AppointmentController
    {
        public static int ScheduleAppointment(Appointment a)
        {
            // Create Appointment Object here to pass to DatabaseSupport?
            return EMRSystem.ScheduleAppointment(a);
        }

        public static Appointment SelectAppointment(int ID)
        {
            return EMRSystem.SelectAppointment(ID);
        }

        public static List<Appointment> GetAppointments(DateTime date, bool searchFuture)
        {
            return EMRSystem.GetAppointments(date, searchFuture);
        }

        public static bool UpdateAppointment()
        {
            return EMRSystem.UpdateAppointment();
        }

        public static Appointment DeleteAppointment()
        {
            return EMRSystem.DeleteAppointment();
        }
    }
}
